package com.ad.pet.app.login;

import android.os.Bundle;
import android.view.View;

import com.ad.pet.R;
import com.ad.pet.common.data.injector.HasComponent;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.common.structure.ui.activity.AppToolbarActivity;

import javax.inject.Inject;

/**
 * Created by SEELE on 2018/10/24.
 */

public class MobileRegistActivity extends AppToolbarActivity implements HasComponent<LoginComponet>{



    @Inject
    LoginComponet mCircularComponent;




    @Override
    protected void init(Bundle savedInstanceState) {
        super.init(savedInstanceState);
        mStatusLayoutManager.showContent();
    }

    @Override
    protected int contentLayout() {
        return R.layout.activity_mobile_regist;
    }

    @Override
    protected void clickRetry(View v) {

    }

    @Override
    protected void initViews() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvents() {

    }

    @Override
    public void initInject() {
        mCircularComponent = DaggerLoginComponet.builder().applicationComponent(getApplicationComponent()).activityModule(getActivityModule()).build();
        mCircularComponent.inject(this);
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }






    @Override
    public LoginComponet getComponent() {
        return mCircularComponent;
    }
}
